package my.test.tactics;

/**
 * @Author 许玉康
 * @Date 2019/8/28 18:19
 */
public class ZhaoYun {

    public static void main(String[] args) {
        Context context;
        System.out.println("----刚到吴国的时候拆第一个----");
        context = new Context(new BackDoor());
        context.operate();

        System.out.println("----刘备乐不思蜀了，拆第二个----");
        context = new Context(new GiveGreenLight());
        context.operate();

        System.out.println("----孙权的追兵追了，拆第三个----");
        context = new Context(new BlockEnemy());
        context.operate();
    }
}
